.login-container {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog {
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.login-dialog h3 {
    text-align: center;
    padding: 50px 0;
}

.login-dialog .row {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog .error {
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error {
    color: red;
}
.login-dialog .row span {
    display: block;
    /* 设置固定宽度, 能让文字和后面的输入框之间有间隙  */
    width: 80px;
    font-weight: 700;
} 

#username, #password, #password1, #password2 {
    width: 200px;
    height: 40px;

    font-size: 20px;
    text-indent: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
}


#submit {
    margin-top: 30px;

    width: 200px;
    height: 50px;

    color: white;
    background-color: rgb(0, 128, 0);
    /* 圆角矩形 */
    border: none;
    border-radius: 10px;
    font-size: 20px;
}

/* 按下效果 */
.login-dialog #submit:active {
    background-color: #666;
}

.link {
    text-align: center;
    margin-top: 20px;
  }
  
  .link a {
    color: #007bff;
    text-decoration: none;
  }
  
  .link a:hover {
    text-decoration: underline;
  }